package test01;

public class MyThread {
    public static void main(String[] args) {

        MyRun myRun = new MyRun();

        Thread t1 = new Thread(myRun);
        Thread t2 = new Thread(myRun);
        Thread t3 = new Thread(myRun);
        t1.setName("窗口1");
        t2.setName("窗口2");
        t3.setName("窗口3");

        t1.start();
        t2.start();
        t3.start();


        /*int i = Runtime.getRuntime().availableProcessors();
        System.out.println(i);*/


    }
}
